package com.songshuai.webapi.permission.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(value="角色首页请求实体")
public class RoleHomePageReqDto {

    @NotNull(message = "角色ID不能为空")
    @ApiModelProperty(value="角色Id",required = true)
    private Integer roleId;

    @NotNull(message = "应用Id不能为空")
    @ApiModelProperty(value="应用Id",required = true)
    private Integer appId;


}